﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace SharpShare.Configuration {
    public class LogElement : ConfigurationElement {

        [ConfigurationProperty("enabled", IsRequired = false, DefaultValue = false)]
        public bool Enabled {
            get {
                return (bool)this["enabled"];
            }
            set {
                this["enabled"] = value;
            }
        }

        [ConfigurationProperty("location")]
        public string Location {
            get {
                return (string)this["location"];
            }
            set {
                this["location"] = value;
            }
        }
    }
}
